package com.hphs.service;

import com.hphs.mapper.VideoDao;
import com.hphs.model.Videos;
import com.hphs.model.VideosQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VideoService {
    @Autowired
    private VideoDao videoDao;

    public List<Videos> select( VideosQuery query){
        List<Videos> videosList = videoDao.select(query);

        return videosList;
    }

}
